<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/taglib_include.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, target-densitydpi=medium-dpi, initial-scale=0.5, minimum-scale=0.5, maximum-scale=0.5, user-scalable=no" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<link href="${ctx}/css/main.css?ver=${main_css_version}" rel="stylesheet" type="text/css" />
<style type="text/css">
  @media screen and (max-width: 640px){
    #Take-backs {
      font-size:20pt;
    }
  }
</style>
<title>${projectTitle }</title>
</head>
<body>
  <header id="main-top">
    <a href="#" style="visibility: hidden;">
      <div id="main-top-left">
        <img src="${ctx}/images/mui_title_back_btn.png" class="img-2">
      </div>
    </a>
    <div id="main-top-title">购票成功</div>
    <div id="main-top-right">完成</div>
  </header>
  <div id="container">
    <div id="order-number">订单号：${orderpnr }</div>
    <div id="Take-backs">支付成功，请注意查收出票通知短信</div>
    <div id="Nticket-tip">
      温馨提示：<br/>1、凭二代身份证或纸质车票条码通过华夏快线自助检票机检票登车。<br/> 2、请按照购票通知短信中提示的检票口登车。<br/> 3、建议提前一小时到车站取票。<br/> 4、如有疑问，请通过客服电话(400-0616-225)或客服微信联系我们。
    </div>
    <!-- 泸州出发的车票加入特色商城的广告链接图片 -->
    <c:if test="${startStationId == constant.lzzx_stationid }">
      <a href="http://tcshop.huaxiaexpress.com">
        <img src="${ctx}/images/lz_tcshop_banner.jpg">
      </a>
    </c:if>
  </div>
  <script type="text/javascript" src="${ctx}/js/jquery.min.js?ver=${jquery_min_version}"></script>
  <script type="text/javascript">
  var trafficlineQueryUrl = "${ctx}/trafficline/index.do?ver=${appVer}&starting=" + localStorage.starting + 
		                     "&startCityId=" + localStorage.startCityId + 
		                     "&startStationId=" + localStorage.startStationId + 
		                     "&startStationsDisabled=" + localStorage.startStationsDisabled + 
		                     "&groupId=" + localStorage.groupId;
  $(function(){
	  $("#main-top-right").bind("click", function(){
		  if (sessionStorage.indexncUrl) {
			  window.location.href = sessionStorage.indexncUrl;
		  } else {
			  window.location.href = trafficlineQueryUrl;
		  }
	  });
  });
  </script>
</body>
</html>